<HTML>
<HEAD>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" >
<TITLE>CVED_en.htm</TITLE>
<style>body{font: 10pt Verdana,sans-serif;}</style>
</HEAD>
<BODY LANG="en-US">
<PRE>

________________________________________________________________________
<h2>Plugins:</h2>

  Plugins are load modules, compiled (Language C or other).
  Plugins can use all internal functions.
  System-neutral user interfaces can be created with the GUI-Tool "C-Kit-GUI".

  Plugins do not have specific commands (like processors).
  Plugins can be unloaded, recompiled and reloaded at run time.


Activate a plugin: "Plugin/Select-Start" (oder Ctrl-P).




________________________________________________________________________
<p><a name="P_creP"></a></p>
<h2>Create new plug-in</h2>

 A source program ({progname}.c) and a Link job ({progname}.mak) are required
  (MS-Win: {progname}.nmak). 

 Examples: Demo*.c, Demo*.mak  (MS-Win: Demo*.nmak).


 With "Options/compile_DLLs" on, a plugin is unloaded at runtime,
 recompiled, relinked and reloaded.
 


Example:

cd ~/devel/gcad3d/src/APP
  (MS: cd %APPDATA%\devel\gcad3d\src\APP)

cp Demo_toolbar1.c myTest1.c

cp Demo_toolbar1.mak myTest1.mak
  (MS: copy Demo_toolbar1.nmak myTest1.nmak)

# change "Demo_toolbar1" in myTest1.c and in myTest1.mak into "myTest1"

# for the first time the plugin must be built manually:
. ../options.sh && make -f myTest1.mak
  (MS: nmake -f myTest1.mak)

# start gcad with "Options/compile_DLLs" on
./do comp
  (MS: do comp)

# select "Plugin / select plugin .. / myTest1"

# keep gcad running; exit plugin; change code, save code;
# restart plugin with "Ctrl+P" makes automatic recompile and start ..



See also:
- <a href="../dev_inf_en.txt">using the development-documentation</a>
- <a href="../dev_doc_en.txt">installation / customization of the development-tools</a>



________________________________________________________________________
 Send bug reports, suggestions for improvements to
support@gcad3d.org

</PRE>
</BODY>
</HTML>
